PEGetSectionFormatFormula

Use PEGetSectionFormatFormula to retrieve the current format formula for the specified section of the report. Use this function with PEGetHandleString.

C Syntax
BOOL CRPE_API PEGetSectionFormatFormula (
        short printJob,
        short sectionCode,
        short formulaName,
        HANDLE FAR *textHandle,
        short FAR *textLength );
Parameters

printJob

Specifies the print job for which you want to retrieve the section format formula.

sectionCode

Specifies the Section Codes, for the report section(s) for which you want to get section format information. See Working with section codes.

formulaName

Specifies the name of the section format formula. Use one of the PE_FFN_XXX Area/Section Format Formula Constants.

textHandle

Specifies a pointer to the handle of the text of the actual formula.

textLength

Specifies a pointer to the length of the text string. Use this value to allocate a buffer for the text.

Returns
Remarks
VB Syntax
Declare Function PEGetSectionFormatFormula Lib "crpe32.dll" (
    ByVal printJob As Integer, ByVal sectionCode As Integer,
    ByVal formulaName As Integer, textHandle As Long,
    textLength As Integer ) As Integer
Delphi Syntax
function PEGetSectionFormatFormula (
    printJob: Word;
    sectionCode: Word;
    formulaName: Word;
    var textHandle: HWnd;
    var textLength: Word
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com